/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.business.account.facade.info;

import info.peigen.hotpot.business.account.facade.order.trans.fee.FeeOrderInfo;
import info.peigen.hotpot.business.router.facade.enums.ChannelCode;
import info.peigen.hotpot.common.core.lang.money.Money;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

import java.util.Date;

/**
 * <b>(AccountTransferInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/4/24
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class AccountTransferInfo {
    /** 交易金额-包含币种 */
    @NotNull
    Money  transAmount;
    /** 交易Id */
    @NotEmpty
    String tradeId;
    /** 清算时间 */
    @NotNull
    Date   settleTime;
    /** memo */
    String       memo;
    /** 收费对象 */
    FeeOrderInfo feeOrderInfo;
    /** 原币种账户Id */
    @NotEmpty
    String accountId;
    /** 提现渠道编码 */
    ChannelCode channelCode;
}
